#!/usr/bin/env node
console.log(process.pid);
const cp = require('child_process');

console.log(`I am child,PID:${process.pid}`);
process.send(process.pid);
process.on('message',(msg)=>{
  console.log(msg);
} )
process.send('father');
